'use strict';

// Declare app level module which depends on views, and components
angular.module('myApp', [
        'ngRoute',
        'myApp.login',
        'myApp.tasks',
        'myApp.register'
    ])
    .config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) {
        $locationProvider.hashPrefix('!');
        $routeProvider.otherwise({
            redirectTo: '/login'
        });
    }])
    .controller('mainCtrl', (['$scope', function($scope) {
        // $scope.msg = 'test!';
    }]))